package com.eastcom.bm.atom;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="QA_MSGSUB")
public class Atom_MsgSub implements Serializable{
	private String id;
	
	private String dataset_id;
	
	private Integer subType;
	
	private String email;

	@Id
	@GenericGenerator(name = "MSGSUB-uuid", strategy = "uuid")
	@GeneratedValue(generator = "MSGSUB-uuid")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name="dataset_id")
	public String getDataset_id() {
		return dataset_id;
	}

	public void setDataset_id(String datasetId) {
		dataset_id = datasetId;
	}

	@Column(name="subType")
	public Integer getSubType() {
		return subType;
	}

	public void setSubType(Integer subType) {
		this.subType = subType;
	}

	@Column(name="email")
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
}
